#!/bin/bash

echo ">>> Building images..."

source ./hooks/arches.sh

set -ex

for arch in "${arches[@]}"; do
    docker build \
           -t "${DOCKER_REPO}:${DOCKER_TAG}-${arch}" \
           -f docker/${arch}/Dockerfile${distro_suffix} \
           .
done
